﻿@model GPS.ENTITYS.CrudmodelDT_PC_ChamThi
<div class="modal-header fdb-panel-header-10">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h5 class="modal-title" id="myModalLabel">Phân công hội đồng chấm thi</h5>
</div>
<div class="modal-body fdb-panel-body-0">
    <div id="tabs">
        @using (Html.BeginForm("_Detail", "GPS_DT_TN_PC_ChamThi", FormMethod.Post, new { enctype = "multipart/form-data", id = "form" }))
        {
            @Html.ValidationSummary(true)
            

                <fieldset class="fs_body">
                    <legend class="head_title">Thông tin cơ bản giáo viên</legend>

                    <div class="row margin-top-05" style="padding-left:30px">
                        <div class="col-md-3 control-label">
                            Họ và tên:
                        </div>
                        <div class="col-md-5">
                            @Html.DisplayFor(model => model.GV_HOTEN, new { @class = "form-control", @readonly = "readonly" })
                            @Html.HiddenFor(model => model.GV_HOTEN)
                            @Html.HiddenFor(model => model.DTTN_HD_DVGTVT_MA)
                            @Html.HiddenFor(model => model.DTTN_HD_SHV_MA)
                            @Html.HiddenFor(model => model.DTTN_HD_DTTN_QD_ID)
                        </div>
                    </div>
                    @*<div class="row margin-top-05" style="padding-left:30px">
                        <div class="col-md-3 control-label">
                            Đơn vị đào tạo:
                        </div>
                        <div class="col-md-5">
                            @Html.DisplayFor(model => model., new { @class = "form-control", @readonly = "readonly" })
                            @Html.HiddenFor(model => model.GV_HOTEN)
                        </div>
                    </div>*@
                    <div class="row margin-top-05" style="padding-left:30px">
                        <div class="col-md-3 control-label">
                            Chức vụ sát hạch viên:
                        </div>
                        <div class="col-md-5">
                          @Html.DropDownListFor(model => model.DTTN_HD_CVSHV_MA_PC, (SelectList)ViewBag.LstPhanCong, "-- Lựa Chọn --", new { @class = "form-control" })
                        </div>
                    </div>

                    @*<div class="row margin-top-05" style="padding-left: 30px">
                        <div class="col-md-3 control-label">
                            Ngày sinh:
                        </div>
                        <div class="col-md-5">
                            @Html.DisplayFor(model => model.DCP_GV_NGAYSINH, new { @class = "form-control", @readonly = "readonly" })
                            @Html.HiddenFor(model => model.DCP_GV_NGAYSINH)
                        </div>
                    </div>

                    <div class="row margin-top-05" style="padding-left: 30px">
                        <div class="col-md-3 control-label">
                            Số CMTND:
                        </div>
                        <div class="col-md-5">
                            @Html.DisplayFor(model => model.DCP_GV_SOCMT, new { @class = "form-control", @readonly = "readonly" })
                            @Html.HiddenFor(model => model.DCP_GV_SOCMT)
                        </div>
                    </div>

                    <div class="row margin-top-05" style="padding-left: 30px">
                        <div class="col-md-3 control-label">
                            Hạng GPLX:
                        </div>
                        <div class="col-md-5">
                            @Html.DisplayFor(model => model.DCP_GV_HANGDT_MA, new { @class = "form-control", @readonly = "readonly" })
                            @Html.HiddenFor(model => model.DCP_GV_HANGDT_MA)
                        </div>
                    </div>

                    @*<div class="row margin-top-05" style="padding-left: 30px">
                            <div class="col-md-3 control-label">
                                Số QĐGCN cũ:
                            </div>
                            <div class="col-md-5">
                                @Html.HiddenFor(model => model.DCP_GV_SOQD)
                            </div>
                        </div>

                        <div class="row margin-top-05" style="padding-left: 30px">
                            <div class="col-md-3 control-label">
                                Ngày QĐGCN cũ:
                            </div>
                            <div class="col-md-5">
                                @Html.Raw((string)ViewBag.NgayQD)
                            </div>
                        </div>

                        <div class="row margin-top-05" style="padding-left: 30px">
                            <div class="col-md-3 control-label">
                                Đơn vị đào tạo:
                            </div>
                            <div class="col-md-5">
                                @Html.DisplayFor(model => model.DCP_GV_DVGTVT_MA, new { @class = "form-control", @readonly = "readonly" })
                                @Html.HiddenFor(model => model.DCP_GV_DVGTVT_MA)
                            </div>
                        </div>*@
                </fieldset>
    <div class="row margin-top-15 Action_FormDetail" style="padding-left: 30px">
        <div class="col-md-12">
            <button type="submit" class="btn btn-danger btn-sm" >
                <span class="glyphicon glyphicon-floppy-disk"></span> Cập nhật
            </button>
            &nbsp; &nbsp;
            @Html.ActionLink("Đóng", "Index", null, new { @class = "btn btn-primary btn-sm" })
        </div>
    </div>
        }
    </div>
</div>

<script type="text/javascript">
    $("#DCP_GV_NGAYQD_GCN").datepicker({
        changeMonth: true,
        changeYear: true,
        dateFormat: 'dd/mm/yy'
    });

    $("#DCP_NGAYDT_TU").datepicker({
        changeMonth: true,
        changeYear: true,
        dateFormat: 'dd/mm/yy'
    });

    $("#DCP_NGAYDT_DEN").datepicker({
        changeMonth: true,
        changeYear: true,
        dateFormat: 'dd/mm/yy'
    });

    $("#DCP_GV_NGAYQD").datepicker({
        changeMonth: true,
        changeYear: true,
        dateFormat: 'dd/mm/yy'
    });
    $("#DCP_GV_NGAYQD").mask("99/99/9999", { placeholder: "dd/mm/yyyy" });
    $("#DCP_GV_NGAYQD_GCN").mask("99/99/9999", { placeholder: "dd/mm/yyyy" });
    $("#DCP_NGAYDT_DEN").mask("99/99/9999", { placeholder: "dd/mm/yyyy" });
    $("#DCP_NGAYDT_TU").mask("99/99/9999", { placeholder: "dd/mm/yyyy" });
</script>